package com.icow.wms.basic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.icow.common.annotation.Excel;
import com.icow.common.core.domain.BaseEntity;

/**
 * agvErrorInfo对象 agv_error_info
 * 
 * @author bcs
 * @date 2024-08-23
 */
public class AgvErrorInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 车辆名称 */
    @Excel(name = "车辆名称")
    private String agvName;

    /** 当前任务 */
    @Excel(name = "当前任务")
    private String orderName;

    /** 报错信息 */
    @Excel(name = "报错信息")
    private String agvErrorMessage;

    /** 唯一标识 */
    private String uniqueCode;

    /** 报错时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "报错时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date errorTime;

    /** 复位时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "复位时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date noErrorTime;

    /** $column.columnComment */
    private String remark1;

    /** $column.columnComment */
    private String remark2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAgvName(String agvName) 
    {
        this.agvName = agvName;
    }

    public String getAgvName() 
    {
        return agvName;
    }
    public void setOrderName(String orderName) 
    {
        this.orderName = orderName;
    }

    public String getOrderName() 
    {
        return orderName;
    }
    public void setAgvErrorMessage(String agvErrorMessage) 
    {
        this.agvErrorMessage = agvErrorMessage;
    }

    public String getAgvErrorMessage() 
    {
        return agvErrorMessage;
    }
    public void setUniqueCode(String uniqueCode) 
    {
        this.uniqueCode = uniqueCode;
    }

    public String getUniqueCode() 
    {
        return uniqueCode;
    }
    public void setErrorTime(Date errorTime) 
    {
        this.errorTime = errorTime;
    }

    public Date getErrorTime() 
    {
        return errorTime;
    }
    public void setNoErrorTime(Date noErrorTime) 
    {
        this.noErrorTime = noErrorTime;
    }

    public Date getNoErrorTime() 
    {
        return noErrorTime;
    }
    public void setRemark1(String remark1) 
    {
        this.remark1 = remark1;
    }

    public String getRemark1() 
    {
        return remark1;
    }
    public void setRemark2(String remark2) 
    {
        this.remark2 = remark2;
    }

    public String getRemark2() 
    {
        return remark2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agvName", getAgvName())
            .append("orderName", getOrderName())
            .append("agvErrorMessage", getAgvErrorMessage())
            .append("uniqueCode", getUniqueCode())
            .append("errorTime", getErrorTime())
            .append("noErrorTime", getNoErrorTime())
            .append("remark1", getRemark1())
            .append("remark2", getRemark2())
            .toString();
    }
}
